﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage1.master" AutoEventWireup="true" CodeFile="homepage.aspx.cs" Inherits="homepage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    
// <![CDATA[

        function img_onclick() {

        }

// ]]>
    </script>
    <style type="text/css">
        .style2
        {
            font-size: small;
            text-align: left;
        }
        .style3
        {
            width: 20%;
            color: #FF0000;
        }
        .style4
        {
            color: #FF0000;
        }
    .style5
    {
        text-align: left;
        width: 13%;
    }
    .style6
    {
        width: 13%;
    }
        .style7
        {
            font-size: small;
            text-align: center;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <div>
<div class="center_photo" style=" width:100%; margin:0; padding:0; height:300px; background:#c8d5b9">
	<!-- 要切换的图片 --> 
	<img alt="tupian" src="image/homepage1.jpg" style="width:100%;height:300px " id="img" onclick="return img_onclick()" />
    <div class="point" style="display:block; height:50px; position:relative; top:-60px; width:240px; margin:0 auto; left:0px; z-index:999; text-align:center">
        <ul>
        <!-- ul、li实现“小圆点” -->
            <li id="p1" onmouseover="point(this)" onmouseout="leave()" style=" width:20px; height:20px; margin:0 5px; float:left ; list-style:none" >
                <img src="image/radio1.png" alt="" id="i1"/>
            </li>
            <li id="p2" onmouseover="point(this)" onmouseout="leave()" style=" width:20px; height:20px; margin:0 5px; float:left ; list-style:none">
                <img src="image/radio2.png" alt="" id="i2"/>
            </li>
            <li id="p3" onmouseover="point(this)" onmouseout="leave()" style=" width:20px; height:20px; margin:0 5px; float:left ; list-style:none" >
                <img src="image/radio2.png" alt="" id="i3" />
            </li>
        </ul>
    </div>
    <script src="JScript.js" type="text/javascript"></script>
</div>
 
 <div style=" width:70%;  margin:20px auto;">
     <div style="background:#eeeeee;height:30px;">
         <asp:HyperLink ID="HyperLink9" runat="server" style=" text-decoration:none">产品介绍</asp:HyperLink>
     </div>
     <div>
      
         <asp:DataList ID="DataList1" runat="server" 
        RepeatColumns="3" RepeatDirection="Horizontal" 
        onitemcommand="DataList1_ItemCommand1" 
        onitemdatabound="DataList1_ItemDataBound">
        <FooterTemplate>
                <div class="style7">
                    共有<asp:Label ID="Label4" runat="server" BorderStyle="None" Text="Label"></asp:Label>
                    页 当前<asp:Label ID="Label6" runat="server" Text="Label"></asp:Label>
                    页 
                    <asp:LinkButton ID="LinkButton1" runat="server" CommandName="first">首页</asp:LinkButton>
                    &nbsp;<asp:LinkButton ID="LinkButton2" runat="server" CommandName="pre">上一页</asp:LinkButton>
                    &nbsp;<asp:LinkButton ID="LinkButton3" runat="server" CommandName="next">下一页</asp:LinkButton>
                    &nbsp;<asp:LinkButton ID="LinkButton4" runat="server" CommandName="last">尾页</asp:LinkButton>
                    &nbsp;跳转至:<asp:TextBox ID="TextBox1" runat="server" Width="30px"></asp:TextBox>
                    <asp:Button ID="Button1" runat="server" CommandName="search" Text="确定" />
                </div>
            </FooterTemplate>
        <ItemTemplate>
           <table class="style1" style="height: 294px; width: 84%;">
                <tr>
                    <td class="style2">
                        <asp:Label ID="product_nameLabel" runat="server" 
                            Text='<%# Eval("product_name") %>' />
                    </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td rowspan="4" class="style2">
                        <asp:Image ID="Image1" runat="server" Height="258px" 
                            ImageUrl='<%# Eval("image") %>' Width="175px" />
                    </td>
                    <td>
                        <strong>牌号：</strong></td>
                    <td>
                        <asp:Label ID="shop_signLabel" runat="server" Text='<%# Eval("shop_sign") %>' />
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>类型</strong>：</td>
                    <td>
                        <asp:Label ID="typeLabel" runat="server" Text='<%# Eval("type") %>' />
                    </td>
                </tr>
                <tr>
                    <td>
                        <strong>单价</strong>：</td>
                    <td>
                        <asp:Label ID="priceLabel" runat="server" Text='<%# Eval("price") %>' />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" style="text-align: center">
                        <asp:HyperLink ID="HyperLink8" runat="server" 
                            NavigateUrl='<%# "~/product1.aspx?id="+Eval("shop_sign") %>'>购买</asp:HyperLink>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
      
     </div>

 </div>  
  <div style=" width:70%; margin:20px auto;">
    <div style=" height:30px; background:#eeeeee;">
        <asp:HyperLink ID="HyperLink1" runat="server" 
            NavigateUrl="~/company_information2.aspx" style=" text-decoration:none">公司简介</asp:HyperLink>
    </div>
    <div style="height:250px">
        <img src="image/company.jpg" style=" float:left" />
        <p class="style2" >【东莞兴隆塑胶原料有限公司】是一家集塑料生产、塑料进出口为一体的综合性一般纳税人资格企业，经营通用塑料、  工程塑料和特殊工程塑料，自营进出口业务及品牌代理营销的企业。为客户提供商品展示、塑料信息咨询及技  术支援。业务遍布全国各地，深受广大客户的欢迎,在同行和客户中树立了良好的口碑。 
【东莞兴隆塑胶原料有限公司】专业从事塑胶原料的销售及服务，公司自成立以来，一直致力于为客户提供更好的服 务。公司经销批发的EVA、EAA、POE、POM、PA66、PA6、PC、PBT畅销消费者市场，并在消费者当中享  有较高的地位。东莞兴隆塑胶一直追求与国际知名品牌的良好合作关系，为客户提供有保障、质量好、.. 
</p>
    </div>
 </div> 
 <div style=" width:70%; height:300px;  margin:20px auto;">
      <div style=" height:30px;  background:#eeeeee ">
      
          <asp:HyperLink ID="HyperLink8" runat="server" 
              NavigateUrl="~/lnquiry sheet.aspx" style=" text-decoration:none">询价单</asp:HyperLink>
    </div>
      <div>
        
          <table class="style1">
              <tr>
                  <td>
                      <span class="style3">*</span><asp:Label ID="Label5" runat="server" Text="产品牌号" 
                          style="color: #000000" ></asp:Label>
                  </td>
                  <td>
                      <span class="style4">*</span><asp:Label ID="Label4" runat="server" Text="数量"></asp:Label>
                  </td>
                  <td>
                      <span class="style4">*</span><asp:Label ID="Label6" runat="server" Text="单位" ></asp:Label>
                  </td>
              </tr>
              <tr>
                  <td>
                      <asp:TextBox ID="TextBox2" runat="server" value="例如：M90-44" onfocus ="if (value == '例如：M90-44'){value=''}" onblur ="if (value ==''){value='例如：M90-44'}"></asp:TextBox>
                  </td>
                  <td>
                      <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                  </td>
                  <td>
                      <asp:TextBox ID="TextBox3" runat="server" value="千克，吨" onfocus ="if (value == '千克，吨'){value=''}" onblur ="if (value ==''){value='千克，吨'}"></asp:TextBox>
                  </td>
              </tr>
          </table>
           <table class="style1">
        <tr>
            <td style="text-align: left" class="style6">
                <asp:Label ID="Label11" runat="server" Text="补充说明："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox4" runat="server" Width="90%" value="如：具体型号，规格，加工方式，包装方式" onfocus ="if (value == '如：具体型号，规格，加工方式，包装方式'){value=''}" onblur ="if (value ==''){value='如：具体型号，规格，加工方式，包装方式'}"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style5" >
                <span class="style4">*</span><asp:Label ID="Label12" runat="server" Text="联系人："></asp:Label>
            </td>
            <td >
                <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style5">
                <span class="style4">*</span><asp:Label ID="Label13" runat="server" 
                    Text="电话号码："></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style5">
                &nbsp;</td>
            <td>
                <asp:Button ID="Button1" runat="server" Text="确定" />
            </td>
        </tr>
    </table>

      </div>
 </div>

</div>

   
</asp:Content>

